package cn.edu.cdu.farmdeal.domain;

public class Address {
    private Integer id;

    private String consignee;

    private String tag;

    private String tel;

    private String region;

    private String street;

    private String deliveryWay;

    private String deliveryTime;

    private String payWay;

    private Integer orderId;

    private String userId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getDeliveryWay() {
        return deliveryWay;
    }

    public void setDeliveryWay(String deliveryWay) {
        this.deliveryWay = deliveryWay;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", consignee=").append(consignee);
        sb.append(", tag=").append(tag);
        sb.append(", tel=").append(tel);
        sb.append(", region=").append(region);
        sb.append(", street=").append(street);
        sb.append(", deliveryWay=").append(deliveryWay);
        sb.append(", deliveryTime=").append(deliveryTime);
        sb.append(", payWay=").append(payWay);
        sb.append(", orderId=").append(orderId);
        sb.append(", userId=").append(userId);
        sb.append("]");
        return sb.toString();
    }
}